package com.agp.enumeration;

public enum TreeHealthStatus {
    HEALTHY(0, "健康"),
    SUB_HEALTHY(1, "亚健康"),
    UNHEALTHY(2, "不健康"),
    ENDANGERED(3, "濒危");
 
    private final int code;
    private final String description;

    // 构造方法
    TreeHealthStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }

    // Getter 方法
    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}